//
//  Response.m
//  HengHuaSupervision
//
//  Created by XD-XY on 3/26/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "Response.h"
#import "JSONKit.h"

@implementation ResponseData

-(instancetype) initWithDictionary:(NSDictionary*) dic{
    
    NSCParameterAssert(dic);
    self = [super init];
    self.result = [dic valueForKey:@"result"];
    self.content = [dic valueForKey:@"content"];
    self.errorMsg = [dic valueForKey:@"errorMsg"];
    self.currentTime = [dic valueForKey:@"currentTime"];
    self.responseJson = [dic JSONString];
    return self;
    
}

@end
